<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
 <%@ page import="com.yztc.rc.api.framework.ContextFactory" %>
<%@ page import="com.yztc.rc.api.framework.entity.UserAccount" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
UserAccount ua = (UserAccount)session.getAttribute(ContextFactory.FRAMEWORKSESSIONKEY);

if(ua==null){
	out.println("用户未登录，请先登录！");
	return;
}
%>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>用户充值 </title>
	 
    <link href="<%=path%>/common/css/layout.css" rel="stylesheet" type="text/css" />
	<link href="<%=path%>/common/css/user.css" rel="stylesheet" type="text/css" />
	<link type="text/css" rel="stylesheet" href="<%=path %>/includes/styleBase/css/ostable.css" />
	
	<script type='text/javascript' src="<%=path %>/includes/js/jquery.js"></script>
	<script type="text/javascript" src="<%=path %>/includes/Fvalidate/Fvalidate.js" ></script>
	<link type="text/css" rel="stylesheet" href="<%=path %>/includes/Fvalidate/style.css" />

  </head>
  <script>
	$(document).ready(function()
	{
		$("#orderFrom").Fvalidate({live:true});
		 
	});
	
	function initTotal(){
	    if(!$("#orderFrom").Fvalidate()){
		    return false;
		}
		
		$("#totalNum").val($("#moneyNum").val());
	}
    
  </script>
  <style>
  .osTable{
	background: #9F8F78;
	text-align:center;
   }
	.osTable th{
	 background-color:#F7D28C;
	 height:25px;
	 font-size:14px; 
	 text-align:center;
	}
	.osTable td{
		background-color:#FFFFFF;
		height:35px;
	    font-size:14px; 
	}
  </style>
  <body>
  
 <%@include file="../common/toplogin.jsp"%>    
<%@include file="../common/topbanner.jsp"%> 
<%@include file="../common/topmenu.jsp"%> 



<div id="contentmain">

<%@include file="../membercenter/include/pointConfig.jsp"%> 

  <div id="content_right">
       <jsp:include   page="../membercenter/include/baseTop.jsp"    flush="true">   
		      <jsp:param    name="open"    value="5"    />   
		</jsp:include>
		
		
	 
	<form action="<%=path %>/alipay/alipayto.jsp" method="post" id="orderFrom">
  <input type="hidden" name="userId" value="<%=ua.getUserId() %>"/>
  <input type="hidden" name="subject" value="中国安科网"/>
  <input type="hidden" name="alibody" value="中国安科网用户充值 "/>
		<div style=" width:90%; height:auto;overflow:hidden;text-align:left;"> 
		     <span class="bluetitle" style="font-size:14px;">用户名：<%=ua.getLoginName() %></span><br/><br/>
			 <span class="bluetitle" style="font-size:14px;">  支付信息：</span>
			
			<table   class="osTable" cellspacing="1" border="0" width="80%" style="margin-top:12px;">
	       <thead>
	   	   		<tr>
		          <th width="40%" style="text-align:center;">充值对象</th>
		          
		          <th style="text-align:center;">金额</th>
		       </tr>
		    </thead>
		    <tbody>
		       <tr style="height:35px;">
		          <td style="height:35px;">中国安科网</td>
		          <td><input type="text" name="total_fee" value="1"   id="totalNum" style="width:120px;" value="1"  rule="number"  label="充值金额" error="必须为正整数" required="required"/></td>
		       </tr>
		     </tbody>
		    </table>
		</div>
 <br/><br/>
 
 		<div style=" width:90%; height:auto;overflow:hidden;text-align:left;"> 
			 <span class="bluetitle" style="font-size:14px;">  支付方式：</span>
			<table   class="osTable" cellspacing="1" border="0" width="80%" style="margin-top:12px;">
		        <tr>
		          <td><input name="paytype" type="radio" value="1" checked/>使用支付宝</td>
		          <td width="80%"><IMG src="<%=path %>/includes/images/alipay.gif"/></td>
	           </tr>
		    </table>
		</div>
 <br/>
     <center><input type="submit" value="确定"/></center>
    </form>
     
 </div>
 </div>
 
 
 <%@include file="../../common/bottom.jsp"%>   
  </body>
</html>
